package com.ruoyi.merchant.feedback.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.IdentityVerification;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 意见反馈对象 feedback
 * 
 * @author zx
 * @date 2025-09-14
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户ID，关联user表的id */
    @Excel(name = "认证中心ID，关联认证中心表的id")
    private Long uid;

    /** 意见标题 */
    @Excel(name = "意见标题")
    private String title;

    /** 意见内容 */
    @Excel(name = "意见内容")
    private String content;

    /** 意见提交时间（默认当前时间） */
    @Excel(name = "意见提交时间", readConverterExp = "默=认当前时间")
    private Date time;

    /** 平台回复内容 */
    @Excel(name = "平台回复内容")
    private String reply;

    /** 平台回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "平台回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 删除状态（0：未删除，1：已删除） */
    private Integer del;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }

    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }
    public IdentityVerification getIdentityVerification() {
        return identityVerification;
    }

    public void setIdentityVerification(IdentityVerification identityVerification) {
        this.identityVerification = identityVerification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("title", getTitle())
            .append("content", getContent())
            .append("time", getTime())
            .append("reply", getReply())
            .append("replyTime", getReplyTime())
            .append("del", getDel())
            .append("identityVerification", getIdentityVerification())
            .toString();
    }
    //关联认证中心表
    private IdentityVerification identityVerification;
}
